﻿@namespace MudBlazor.Docs.Examples

<MudTabs Centered="_centered" Color="Color.Primary">
    <MudTabPanel Text="One"/>
    <MudTabPanel Text="Two"/>
    <MudTabPanel Text="Three"/>
</MudTabs>

<MudSwitch @bind-Value="_centered" Color="Color.Primary">Centered</MudSwitch>

@code{
    bool _centered = true;
}